<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
  <base href="<%=request.getContextPath()%>/">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Create Exam</title>
    <link rel="stylesheet" type="text/css" href="${surl}css/style.css" />
    <link rel="stylesheet" type="text/css" href="${surl}css/c_exam.css" />
</head>
<body>
  <jsp:include page="head.jsp"></jsp:include>

  <div class="all">
    <div class="content">
    <form action="exam/create" method="post">
      <ul class="ull">
        <li class="e_li">
          <span class="word">Exam Name:*</span>
          <input required maxlength="45" class="tput e_name" type="text" name="examName" />
        </li>
        <li class="e_li">
          <span class="word">Description:</span>
          <textarea required maxlength="45" class="tput e_dec" name="examDescription"></textarea>
        </li>
        <li class="e_li">
          <span class="word">EffectiveTime:*</span>
          <input required class="tput e_date" type="date" name="date"/>
          <input class="e_hour" type="time" name="hour" />
        </li>
        <li class="e_li">
          <span class="word">Duration:*</span>
          <select name="duration" class="tput">
            <option value="60">60</option>
            <option value="120">120</option>
          </select>
          &nbsp;min</li>
        <li class="e_li">
        <span class="word">Question Setting:*</span>
        <table class="four_in">
        <tr>
          <td>Question Quantity:</td>
          <td><input required class="xs_put ride" type="number" name="questionQuantity" /></td>
          <td>Question Points:</td>
          <td><input required class="xs_put ride" type="number" name="singleScore" /></td>
        </tr>
        <tr>
          <td class="space"></td>
          <td class="space"></td>
        </tr>
        <tr>
          <td>Total Score:</td>
          <td><input id="cul" disabled class="xs_put" type="number" name="totalScore" /></td>
          <td>Pass Criteria:</td>
          <td><input required class="xs_put" type="number" name="passCriteria" /></td>
        </tr>
        </table></li>
        <li class="bottom_grp">
          <input class="btn e_btn" type="submit" value="Save"/>
          <input id="back" style="margin-left: 40px;" class="btn e_btn" type="button" value="Cancel"/>
        </li>
      </ul>
      </form>
    </div>
  </div>
  <jsp:include page="foot.jsp"></jsp:include>
  <script src="${surl}js/jquery-1.10.2.min.js"></script>
  <script src="${surl}js/c_exam.js"></script>
</body>
</html>